<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <title>费用报销列表</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-store, must-revalidate">
    <meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
    <meta http-equiv="expires" content="-1">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="/dist/img/icon.png" type="image/x-icon">
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="/dist/plugins/bootstrap/css/bootstrap.min.css">
    <!--字体-->
    <link rel="stylesheet" href="/dist/css/font-awesome.min.css">
    <!--图标-->
    <link rel="stylesheet" href="/dist/css/ionicons.min.css">
    <link rel="stylesheet" href="/dist/plugins/fixedTable/fixed-table.css"/>
    <!--OA主样式-->
    <link rel="stylesheet" href="/dist/css/OA.min.css?t=e9c5bb62">
    <link rel="stylesheet" href="/dist/css/skins/OA-skins.min.css?t=66b457d6">
    <style>
        .bgOne {
            color: black;
        }

        .bgTwo {
            color: red;
        }

        .bgThree {
            color: #9d9d9d;
        }

        .fixed-table_body tr td {
            border-right: none;
            font-size: 12px;
            text-align: center;
            height: 24px;
            max-height: 24px;
            overflow: hidden;
        }

        .fixed-table_header tr th {
            border-right: none;
            background: yellow;
            font-weight: normal;
            font-size: 12px;
        }

        .fixed-table_body tr:nth-of-type(odd) {
            background: #F9F9F9;
        }
        .type {
            cursor: pointer;
            height: 28px;
        }
        .type input{
            cursor: pointer;
        }
        .content {
            min-height: 180px;
            padding: 15px;
            margin-right: auto;
            margin-left: auto;
            padding-left: 15px;
            padding-right: 15px;
        }
    </style>
</head>
<body>
<section class="content" id="app">
    <div class="div-td-content-more"><i></i></div>
    <iframe id="ifExprot" style="width:0px;height:0px;display: none;" frameborder="0"></iframe>
    <!-- /.box-body -->
    <div id="divBody" style="text-align:left;width:86px;margin:0 auto;height:110px;">
        <br>
        <div v-if="companyMorningFlag!='true'" class="type" @click="checkedRadio('公司晨会')"><input type="radio" style="height:10px;" value="公司晨会" v-model="meetType">公司晨会<br></div>
        <div v-else class="type"><input type="radio" style="height:10px;" value="公司晨会" disabled v-model="meetType">公司晨会<br></div>
        <div v-if="companyWeekFlag!='true'" class="type" @click="checkedRadio('公司周例会')"><input type="radio" style="height:10px;" value="公司周例会" v-model="meetType">公司周例会<br></div>
        <div v-else class="type"><input type="radio" style="height:10px;" disabled value="公司周例会" v-model="meetType">公司周例会<br></div>
        <div v-if="departWeekFlag!='true'"  class="type" @click="checkedRadio('部门周例会')"><input type="radio" style="height:10px;" value="部门周例会" v-model="meetType">部门周例会<br></div>
        <div v-else class="type"><input type="radio" style="height:10px;" disabled value="部门周例会" v-model="meetType">部门周例会<br></div>
    </div>
    <div style="text-align:center;padding: 10px 0" class="div-btn">
        <input type="button" @click="goDetail()"
               style="width:100px;margin-top: -4px;"
               value="确定"
               class="btn oaBtn btn-xs"/>
    </div>
</section>
<!--JQ-->
<script src="https://file.ggxqce.com/web/jquery-2.2.3.min.js"></script>
<!--插件JS-->
<script src="https://file.ggxqce.com/web/bootstrap.min.js"></script>
<script type="text/javascript" src="/dist/plugins/lhgdialog/lhgdialog.min.js?self=true"></script>

<!--框架已定义 JS-->
<script src="/dist/js/app_iframe.js?t=0b5caf39"></script>
<!--oa自定义  JS-->
<script src="/dist/js/oa.js?t=0c4d95a9"></script>
<script type="text/javascript" src="/dist/plugins/My97DatePicker/WdatePicker.js"></script>
<script src="https://file.ggxqce.com/web/vue.min.js"></script>
<script src="/dist/plugins/fixedTable/fixed-table.js"></script>
<script>
    $(function () {
        $("body").on("click", ".lineOne", function (e) {
            if ($(".div-td-content-more").is(":hidden")) {
                var text = $(this).text();
                if (text != "") {
                    text = "<i></i>" + text;
                    $(".div-td-content-more").html(text).css({
                        "width": $(this).outerWidth() + "px",
                        "left": $(this).offset().left,
                        "top": ($(this).offset().top + $(this).outerHeight()) + "px"
                    }).show();
                    e.stopPropagation();
                }
            } else {
                $(".div-td-content-more").hide();
            }
        });
        $("body").on("click", ".div-td-content-more", function (e) {
            e.stopPropagation();
        });
        $("body").on("click", function () {
            $(".div-td-content-more").hide();
        });
    });
</script>
<script type="text/javascript">
    var api = frameElement.api;
    function refresh() {
        $.wyui.page.getByPage();
    }

    console.log(urlConfig);
    var app = new Vue({
        el: '#app',
        data: {
            meetType:'',
            companyMorningFlag:$.wyui.page.urlParams.companyMorningFlag,
            companyWeekFlag:$.wyui.page.urlParams.companyWeekFlag,
            departWeekFlag:$.wyui.page.urlParams.departWeekFlag,
        },

        methods: {
            checkedRadio:function(type){
                this.meetType=type
            },
            goDetail: function () {
                if(this.meetType==''){
                    alert("请选择会议类型！")
                    return;
                }
                top.closeTabByPageId("hyxq")
                top.addTabs({
                    id: "hyxq",
                    title: '会议详情',
                    close: true,
                    url: 'meet/detail.html?pageType=edit&meetType='+this.meetType+'&isinsert=0'
                });
                api.close();
            },

        },
        mounted: function () {
        }
    });
</script>

</body>
</html>